#!/bin/sh

if [ -n "`pidof portmap`" ] ; then
    killall portmap 2>/dev/null
fi

sleep 2
/opt/sbin/portmap
